package com.rd.student.dashuju.wangbo.exercise0728;

//public class Test {
//
//    public static void main(String[] args) {
//        Drink coffee = new NaTie();
//        System.out.println(coffee.getPrice());
//        System.out.println(coffee.getDesc());
//        System.out.println(coffee.cost());
//
//        Decorator milk = new Milk(coffee);
//        System.out.println(milk.cost());
//
//        Drink ccffee1 = new MeiShi();
//        System.out.println(ccffee1.getPrice());
//        System.out.println(ccffee1.getDesc());
//        System.out.println(ccffee1.cost());
//
//        Decorator order = new Suger(ccffee1);
//        System.out.println(ccffee1.getPrice());
//        System.out.println(order.getDesc());
//        System.out.println(order.cost());
//    }
//}
